#include "stdafx.h"
#include "PlayerAvatar.h"
#include "Controller.h"
#include <OISEvents.h>
#include <OISInputManager.h>
#include <OISKeyboard.h>
#include <OISMouse.h>



#ifndef __Input_h_
#define __Input_h_

class Input : public Controller, public OIS::KeyListener, public OIS::MouseListener
{
public:
	
	void update(float deltaTime);
	
	bool keyPressed(const OIS::KeyEvent &arg);
	bool keyReleased(const OIS::KeyEvent &arg);
	
	bool mouseMoved( const OIS::MouseEvent &arg );
	bool mousePressed( const OIS::MouseEvent &arg, OIS::MouseButtonID id );
	bool mouseReleased( const OIS::MouseEvent &arg, OIS::MouseButtonID id );
	
private:
	PlayerAvatar *m_player;
	Ogre::Root *m_root;

};

#endif //__Input_h_